
<label>Select a local gadget:</label><br/>
<select id="spec_field" name="spec_field">
	<% @urls.each do |url| %>
		<option value="<%= url %>"><%= url %></option>
	<% end %>
	<option value="http://localhost:3002/gadget_specs/test/TestGadget.xml">http://localhost:3002/gadget_specs/test/TestGadget.xml</option>
	<option value="http://localhost:3002/gadget_specs/test/ViewsGadget.xml">http://localhost:3002/gadget_specs/test/ViewsGadget.xml</option>
	<option value="http://localhost:3002/gadget_specs/twitter/TwitterGadget.xml">http://localhost:3002/gadget_specs/twitter/TwitterGadget.xml</option>
	<option value="http://www.labpixies.com/campaigns/todo/todo.xml">http://www.labpixies.com/campaigns/todo/todo.xml</option>
</select>
<br/><br/>
<label>or enter a URL for a remote gadget:</label><br/><br/>
<input id="spec_field_input" type="text" style="width:500px;" />
<br/><br/>
<label id="select_view_label">Select View:</label>
<select id="view_type" name="view_type">
	<option value="canvas">Canvas</option>
	<option value="home">Home</option>
	<option value="profile">Profile</option>
	<option value="preview">Preview</option>
</select>
<button id="metadata_btn" dojoType="dijit.form.Button" onclick="load_gadget()">Load Gadget</button>


<div id="metadata_display">
	<div id="metadata_fields"> 
	</div>
</div>



